<?php foreach( $data as $row ) :?>
<div class="col-xs-2">
  <a class="btn btn-default icon" href="<?php echo $plugins_url . $row['id'] ?>">
    <img width="60" src="<?php echo U($row['icon']) ?>">
    <p><strong><?php echo $row['name'] ?></strong></p>
    <p><?php echo $type[$row['type']] ?></p>
  </a>
  <div class="text-center">
    <button type="button" class="btn btn-primary edit_btn" data-id="<?php echo $row['id'] ?>"><i class="fa fa-edit"></i> 编辑</button>
    <button type="button" class="btn btn-danger del_one_btn" data-id="<?php echo $row['id'] ?>"><i class="fa fa-times"></i> 删除</button>
  </div>
</div>
<?php endforeach ; ?>